//获取租户id
let TENANCY_ID;
uni.getStorage({
    key: 'TENANCY_ID',
    success: function(res) {
        TENANCY_ID = res.data;
    }
});
//获取当前皮肤背景
let background = '%233296fa';
switch (TENANCY_ID) {
    case 'D3CD35586CD56DFCE0530100007F33AA':
        // 东风本田汽车零部件有限公司
        uni.getStorage({
            key: 'LYkJBACKGROUND',
            success: function(res) {
                background = res.data;
            }
        });
        break;
    case '1b7456d02d2e4268ba4f0009a40ce7c7':
        //东风PV
        uni.getStorage({
            key: 'DFBACKGROUND',
            success: function(res) {
                background = res.data;
            }
        });
        break;
    case '11b805c8e089409ca853ebba08ffbb00':
        //用户体验中心
        uni.getStorage({
            key: 'YHTYBACKGROUND',
            success: function(res) {
                background = res.data;
            }
        });
        break;
}
var colorBackground = background.replace("#", "%23");
module.exports = colorBackground;